package com.flower.subject.domain.handler.subject;

import com.flower.subject.domain.entity.SubjectInfoBO;
import com.flower.subject.domain.entity.SubjectOptionBO;
import com.flower.subject.enums.SubjectInfoTypeEnum;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-08 14:44
 */
public interface SubjectTypeHandler {


    /**
     * 枚举身份的识别
     * @return
     */
    SubjectInfoTypeEnum getSubjectType();

    /**
     * 实际题目的插入
     * @param subjectInfoBO
     */
    void add(SubjectInfoBO subjectInfoBO);

    SubjectOptionBO query(Integer subjectId);
}
